package com.yanfan.energy.domain;

import java.util.Date;

/**
 * @author caijinkang
 * @date 2023年03月29日 18:07
 */
public class PurchasingBody {
    /**
     * 能源类型
     *
     * @author caijinkang
     * @date 2023/3/29 18:07
     * @param null
     * @return null
     */
    private Integer type;
    /**
     * 楼栋id
     *
     * @author caijinkang
     * @date 2023/3/29 18:08
     * @param null
     * @return null
     */
    private Integer buildingId;
    /**
     * 楼层id
     *
     * @author caijinkang
     * @date 2023/3/29 18:08
     * @param null
     * @return null
     */
    private Integer floorId;
    /**
     * 车间id
     *
     * @author caijinkang
     * @date 2023/3/29 18:08
     * @param null
     * @return null
     */
    private Integer workshopId;
    /**
     * 总费用
     *
     * @author caijinkang
     * @date 2023/3/29 18:09
     * @param null
     * @return null
     */
    private Double price;
    /**
     * 总用能
     *
     * @author caijinkang
     * @date 2023/3/29 18:09
     * @param null
     * @return null
     */
    private Double dosage;
    /**
     * 时间
     *
     * @author caijinkang
     * @date 2023/3/29 18:10
     * @param null
     * @return null
     */
    private String date;

    private Date dateAll;

    public PurchasingBody() {
    }

    public PurchasingBody(Integer type, Integer buildingId, Integer floorId, Integer workshopId, Double price, Double dosage, String date) {
        this.type = type;
        this.buildingId = buildingId;
        this.floorId = floorId;
        this.workshopId = workshopId;
        this.price = price;
        this.dosage = dosage;
        this.date = date;
    }

    @Override
    public String toString() {
        return "PurchasingBody{" + "type=" + type + ", buildingId=" + buildingId + ", floorId=" + floorId + ", workshopId=" + workshopId + ", price=" + price + ", dosage=" + dosage + ", date='" + date + '\'' + '}';
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getBuildingId() {
        return buildingId;
    }

    public void setBuildingId(Integer buildingId) {
        this.buildingId = buildingId;
    }

    public Integer getFloorId() {
        return floorId;
    }

    public void setFloorId(Integer floorId) {
        this.floorId = floorId;
    }

    public Integer getWorkshopId() {
        return workshopId;
    }

    public void setWorkshopId(Integer workshopId) {
        this.workshopId = workshopId;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Double getDosage() {
        return dosage;
    }

    public void setDosage(Double dosage) {
        this.dosage = dosage;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public Date getDateAll() {
        return dateAll;
    }

    public void setDateAll(Date dateAll) {
        this.dateAll = dateAll;
    }
}
